<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=path%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.42.min.js"></script>
<title>实名认证</title>
<style>
.m-t {
	margin-top: 60px;
}
</style>
</head>
<body>
	<div class="col-sm-12" style="min-height: 100%">
		<div class="ibox float-e-margins">
			<div class="ibox-content m-t">
				<form method="post" class="form-horizontal" id="realNameForm"
					action="sns/uploadePhone" enctype="multipart/form-data">
					<div class="form-group">
						<label class="col-sm-2 control-label">真实姓名：</label>
						<div class="col-sm-8 input-group">
							<input type="text" class="form-control" id="name"
								placeholder="请输入2到10位的中文姓名" name="realname"> <span
								id="msg1"></span>
						</div>
						<p class="errorinfo col-sm-offset-2"
							style="color: red; text-align: left;"></p>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">身份证号：</label>
						<div class="col-sm-8 input-group">
							<input type="text" class="form-control" id="card"
								placeholder="请输入18位什么证号" name="idcard"> <span id="msg2"></span>
						</div>
						<p class="errorinfo col-sm-offset-2"
							style="color: red; text-align: left;"></p>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">身份证正面照：</label>
						<div class="col-sm-8 input-group">
							<input type="file" class="form-control" id="picture"
								placeholder="请选择身份证正面照" name="file"> <span id="msg3"></span>
						</div>
						<p class="errorinfo col-sm-offset-2"
							style="color: red; text-align: left;"></p>
					</div>
					<div class="form-group">
						<!--选择的文件展示的位置  -->ut
						<!-- <img alt="" src=""> -->
						<div class="imgdiv col-sm-offset-2"></div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<div class="col-sm-4 col-sm-offset-2">
							<button  class="btn btn-primary"  type="submit"
							onclick="save()"
							>保存</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<script type="text/javascript">
	
			
		
		
	</script>
</body>
</html>